async function modelsBindMiddleware(ctx, next) {
    ctx.models = require('require-all')({
        dirname: require('path').join(__dirname, '..', '..', 'models'),
    });
    await next();
}


module.exports = modelsBindMiddleware;